package com.clstu.string;

public class StringExcercise02 {
    public static void main(String[] args) {
        String s1="cl";
        String s2="java";
        String s3="java";
        String s4=new String("java");
        System.out.println(s2==s3);//t
        System.out.println(s2.equals(s4));//t
        System.out.println(s2==s4);//f
        System.out.println(s1==s2);//f
    }
}
